﻿# -*- coding: utf-8 -*-

import sys

""" Пока только набор констант """

# Права пользователей
USER = 0
MODERATOR = 1
OWNER = 2

# Типы сообщений
PRESENCE_MESSAGE = 'message'
PRESENCE_OUT_MESSAGE = 'outgoing_message'
PRESENCE_JOIN = 'join'
PRESENCE_LEAVE = 'leave'
PRESENCE_IQ = 'iq'
PRESENCE_PRESENCE = 'presence'
PRESENCE_GROUPCHAT_INVITE = 'groupchat_invite'

# Все типы сообщений
# Можно будет проверять, знает ли бот такой presence
# как-то так: if not presence in system.core.PRESENCES:
PRESENCES = [PRESENCE_MESSAGE, PRESENCE_OUT_MESSAGE, PRESENCE_JOIN, \
    PRESENCE_JOIN, PRESENCE_LEAVE, PRESENCE_IQ, PRESENCE_PRESENCE, \
    PRESENCE_GROUPCHAT_INVITE]